package com.blog.exception;

/**
 * @author
 * 自己的异常处理
 * @create 2018-06-07 11:29
 **/
public class MyException extends java.lang.Exception {
    private static final long serialVersionUID = 1L;

    // 异常信息
    public String message;

    public MyException(String message){
        super(message);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
